package com.twetec.cms.model.po.website;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @author wgj
 * @since 2022-02-18
 */
@TableName("COLUMN_REFERENCE_RELATIONSHIP")
public class ColumnReferenceRelationshipPO {

    private static final long serialVersionUID=1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;


    /**
     * 当前栏目ID
     */
    @TableField("CURRENT_COLUMN_ID")
    private Long currentColumnId;

    /**
     * 引用的栏目ID
     */
    @TableField("REFERENCE_COLUMN_ID")
    private Long referenceColumnId;

    /**
     * 引用的栏目文章状态
     */
    @TableField("ARTICLE_STATUS")
    private String articleStatus;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCurrentColumnId() {
        return currentColumnId;
    }

    public void setCurrentColumnId(Long currentColumnId) {
        this.currentColumnId = currentColumnId;
    }

    public Long getReferenceColumnId() {
        return referenceColumnId;
    }

    public void setReferenceColumnId(Long referenceColumnId) {
        this.referenceColumnId = referenceColumnId;
    }

    public String getArticleStatus() {
        return articleStatus;
    }

    public void setArticleStatus(String articleStatus) {
        this.articleStatus = articleStatus;
    }

    @Override
    public String toString() {
        return "ColumnReferenceRelationshipPO{" +
                "id=" + id +
                ", currentColumnId=" + currentColumnId +
                ", referenceColumnId=" + referenceColumnId +
                ", articleStatus='" + articleStatus + '\'' +
                '}';
    }
}
